package org.neuedu.chapter10_0705.mydemo01;

public class Student {
    private Long id;
    private Long stuno; // 学号
    private String name;// 姓名
    private Boolean gender;// 性别
    private Integer age;// 年龄

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", stuno=" + stuno +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                '}';
    }

    public Student(Long id, Long stuno, String name, Boolean gender, Integer age) {
        this.id = id;
        this.stuno = stuno;
        this.name = name;
        this.gender = gender;
        this.age = age;
    }

    public Student() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStuno() {
        return stuno;
    }

    public void setStuno(Long stuno) {
        this.stuno = stuno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
